﻿#include "MaterialVectorNodeView.h"

#include "MaterialVectorNodeViewModel.h"

#include "Widgets/Widget.h"

void RMaterialVectorNodeView::BindViewModel(TSharedObjectPtr<RMaterialGraphNodeViewModel> InModel)
{
    Super::BindViewModel(InModel);

    VectorViewModel = InModel;
}

void RMaterialVectorNodeView::RegenerateContentWidget()
{
    auto OutputLine3D=CreateSimpleOutputPinWidget(RootWidget,RootWidget,0,1);

    auto OutputLine2D=CreateSimpleOutputPinWidget(RootWidget,RootWidget,1,2);

    auto InputX=CreateVector1DInputPinWidgetWithoutLimit(RootWidget,RootWidget,0,3);

    auto InputY=CreateVector1DInputPinWidgetWithoutLimit(RootWidget,RootWidget,1,4);

    auto InputZ=CreateVector1DInputPinWidgetWithoutLimit(RootWidget,RootWidget,2,5);
}
